package com.easygo.client;

import com.easygo.pojo.Admin;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("EASYGO-ADMIN-SERVER")
public interface AdminClient {
    //登录方法
    @PostMapping("/adminLogin")
    public Admin AdminLogin(@RequestBody Admin admin);
}
